﻿@model FantasyDraft2.Models.TeamTradeViewModel

@{
    ViewBag.Title = "Index";
}

<h2>Choose the Users that are trading:</h2>

@using (Html.BeginForm()) {
    <table>
        <tr>
            <td>
                Team 1:
            </td>
            <td>
                Team 2: 
            </td>
        </tr>
        <tr>
            <td>
                @Html.DropDownListFor(x => x.TeamOneId, new SelectList(Model.TeamNames,"TeamId","TeamName"))
            </td>
            <td>
                @Html.DropDownListFor(x => x.TeamTwoId, new SelectList(Model.TeamNames,"TeamId","TeamName"))
            </td>
            <td>
                <input type="submit" value="Go" />
            </td>
        </tr>
    </table>
}